package demo.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import demo.user.pojo.UserStatus;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LonelySnow
 * @since 2020-06-15
 */
public interface UserStatusMapper extends BaseMapper<UserStatus> {

    @Select("SELECT * FROM user_status WHERE user_ud = #{id}")
    UserStatus getOne(@Param("uid") Long id);
}
